<?php



use Doctrine\ORM\Mapping as ORM;

/**
 * Operation
 *
 * @ORM\Table(name="operation")
 * @ORM\Entity
 */
class Operation
{
    /**
     * @var integer
     *
     * @ORM\Column(name="ope_id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $opeId;

    /**
     * @var integer
     *
     * @ORM\Column(name="ope_tra_id", type="bigint", nullable=false)
     */
    private $opeTraId;

    /**
     * @var integer
     *
     * @ORM\Column(name="ope_type", type="integer", nullable=false)
     */
    private $opeType;

    /**
     * @var float
     *
     * @ORM\Column(name="ope_referal_amount", type="float", nullable=true)
     */
    private $opeReferalAmount;

    /**
     * @var integer
     *
     * @ORM\Column(name="ope_audit_create_date", type="bigint", nullable=false)
     */
    private $opeAuditCreateDate;

    /**
     * @var \ItemDomain
     *
     * @ORM\ManyToOne(targetEntity="ItemDomain")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="ope_status", referencedColumnName="itd_id")
     * })
     */
    private $opeStatus;

    /**
     * @var \Strategy
     *
     * @ORM\ManyToOne(targetEntity="Strategy")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="ope_str_id", referencedColumnName="str_id")
     * })
     */
    private $opeStr;

    /**
     * @var \User
     *
     * @ORM\ManyToOne(targetEntity="User")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="ope_usu_id", referencedColumnName="usu_id")
     * })
     */
    private $opeUsu;

    /**
     * @var \Visit
     *
     * @ORM\ManyToOne(targetEntity="Visit")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="ope_vis_id", referencedColumnName="vis_id")
     * })
     */
    private $opeVis;


    /**
     * Get opeId
     *
     * @return integer 
     */
    public function getOpeId()
    {
        return $this->opeId;
    }

    /**
     * Set opeTraId
     *
     * @param integer $opeTraId
     * @return Operation
     */
    public function setOpeTraId($opeTraId)
    {
        $this->opeTraId = $opeTraId;
    
        return $this;
    }

    /**
     * Get opeTraId
     *
     * @return integer 
     */
    public function getOpeTraId()
    {
        return $this->opeTraId;
    }

    /**
     * Set opeType
     *
     * @param integer $opeType
     * @return Operation
     */
    public function setOpeType($opeType)
    {
        $this->opeType = $opeType;
    
        return $this;
    }

    /**
     * Get opeType
     *
     * @return integer 
     */
    public function getOpeType()
    {
        return $this->opeType;
    }

    /**
     * Set opeReferalAmount
     *
     * @param float $opeReferalAmount
     * @return Operation
     */
    public function setOpeReferalAmount($opeReferalAmount)
    {
        $this->opeReferalAmount = $opeReferalAmount;
    
        return $this;
    }

    /**
     * Get opeReferalAmount
     *
     * @return float 
     */
    public function getOpeReferalAmount()
    {
        return $this->opeReferalAmount;
    }

    /**
     * Set opeAuditCreateDate
     *
     * @param integer $opeAuditCreateDate
     * @return Operation
     */
    public function setOpeAuditCreateDate($opeAuditCreateDate)
    {
        $this->opeAuditCreateDate = $opeAuditCreateDate;
    
        return $this;
    }

    /**
     * Get opeAuditCreateDate
     *
     * @return integer 
     */
    public function getOpeAuditCreateDate()
    {
        return $this->opeAuditCreateDate;
    }

    /**
     * Set opeStatus
     *
     * @param \ItemDomain $opeStatus
     * @return Operation
     */
    public function setOpeStatus(\ItemDomain $opeStatus = null)
    {
        $this->opeStatus = $opeStatus;
    
        return $this;
    }

    /**
     * Get opeStatus
     *
     * @return \ItemDomain 
     */
    public function getOpeStatus()
    {
        return $this->opeStatus;
    }

    /**
     * Set opeStr
     *
     * @param \Strategy $opeStr
     * @return Operation
     */
    public function setOpeStr(\Strategy $opeStr = null)
    {
        $this->opeStr = $opeStr;
    
        return $this;
    }

    /**
     * Get opeStr
     *
     * @return \Strategy 
     */
    public function getOpeStr()
    {
        return $this->opeStr;
    }

    /**
     * Set opeUsu
     *
     * @param \User $opeUsu
     * @return Operation
     */
    public function setOpeUsu(\User $opeUsu = null)
    {
        $this->opeUsu = $opeUsu;
    
        return $this;
    }

    /**
     * Get opeUsu
     *
     * @return \User 
     */
    public function getOpeUsu()
    {
        return $this->opeUsu;
    }

    /**
     * Set opeVis
     *
     * @param \Visit $opeVis
     * @return Operation
     */
    public function setOpeVis(\Visit $opeVis = null)
    {
        $this->opeVis = $opeVis;
    
        return $this;
    }

    /**
     * Get opeVis
     *
     * @return \Visit 
     */
    public function getOpeVis()
    {
        return $this->opeVis;
    }
}
